package com.frame.service.base.biz.convert.bak.dict;

import com.frame.common.component.dict.IDict;
import com.frame.convert.converter.Transform;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.RetentionPolicy.RUNTIME;

/*
 * @author zhangyan
 * @date 2021-04-24 20:46:28
 **/
@Documented
@Target({ElementType.FIELD})
@Retention(RUNTIME)
@Transform(converter = DictArrConverter.class)
public @interface DictArr {

    String sourceField();

    Class<? extends IDict> dictClass();

}
